/* GENERAL STYLING FOR THE PRODUCT PAGE (product-page.html) */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* NAVBAR */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 60px;
    background-color: #ffffff;
    border-bottom: 1px solid #fce4ec;
    margin-bottom: 10px;
}

/* Logo + brand name grouped together */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

/* Circle logo badge */
.logo-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: contain;
    display: flex;
}


/* business name beside the logo */
.biz-name {
    font-family: 'Dancing Script', cursive;
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    letter-spacing: 0.02rem;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 48px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333333;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #e91e8c;
}

/* Active "Products" link */
.nav-links a.active {
    color: #e91e8c;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* "Order now" button in navbar */
.nav-links .btn-order-nav {
    background-color: #e91e8c;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 10px 36px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.nav-links .btn-order-nav:hover {
  background-color: #ff068f;
    color: #ffffff;
}



/* PRODUCTS GRID SECTION */
.products-section {
    padding: 20px 150px 60px 150px;
    flex: 1;
}

/* 2 column responsive grid */
.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
    column-gap: 100px;
}

/* PRODUCT CARDS */
.product-card {
    border-radius: 8px;
    overflow: hidden;
    background-color: #fef0f3;
    box-shadow: 0 4px 8px rgba(235, 19, 138, 0.08);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(233, 30, 140, 0.15);
}

/* Product image container — fixed height, crops the image */
.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f9cfe0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder for cards without a real photo */
.card-image-placeholder {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

/* Product info area below the image */
.card-body {
    padding: 16px 20px 18px 20px;
}

/* Product name */
.card-title {
    font-family: 'Lato', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 6px;
}

/* "Price starts at:" label */
.card-price-label {
    font-size: 0.85rem;
    color: #444444;
    margin-bottom: 2px;
}

/* Actual price value */
.card-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 14px;
}

/* "tap to see more" subtle link-style text */
.card-more {
    display: block;
    text-align: center;
    font-size: 0.82rem;
    color: #888888;
    font-style: italic;
    border-top: 1px solid #f9d0db;
    padding-top: 10px;
    transition: color 0.2s;
}

.product-card:hover .card-more {
    color: #e91e8c;
}

/* ============================================
    PLACEHOLDER IMAGE BACKGROUNDS
    Distinct pastel tones per product type
============================================ */
.bg-puto      { background: linear-gradient(135deg, #f8c8d8 0%, #f9e0e8 100%); }
.bg-cupcake   { background: linear-gradient(135deg, #fad0e4 0%, #f8b8d0 100%); }




/* FOOTER */
.footer {
    background: linear-gradient(135deg, #fde8f0 0%, #f8b8d0 100%);
    padding: 20px 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

/* Left side of footer: social follow + brand name */
.footer-left {
    display: flex;
    align-items: center;
    gap: 0;
}

/* "Stay updated / follow us" text block */
.footer-social-text {
    padding-right: 18px;
    border-right: 2px solid #e91e8c;
}

/* same style for the text and fb link */
.footer-social-text p, a {
    text-decoration: none;
    font-size: 14px;
    color: #333333;
    font-weight: 700;
    line-height: 1.4;
}

.footer-social-text p:last-child {
    font-weight: 400;
}

/* Brand name in footer, beside the divider */
.footer-fb-link a {
    text-decoration: none;
    padding-left: 18px;
    font-size: 16px;
    color: #333333;
    font-weight: 400;
    transition: color 0.2s;
}

.footer-fb-link a:hover {
    color: #e91e8c;
}

/* Right side of footer: legal links */
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.footer-links a {
    text-decoration: none;
    font-size: 12px;
    color: #333333;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #e91e8c;
}

/* ============================================
    HAMBURGER MENU BUTTON (hidden on desktop)
============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: #333333;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================
    TABLET VIEW — 768px
============================================ */
@media (max-width: 768px) {

    .navbar {
        padding: 12px 24px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hamburger { display: flex; }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        background-color: #ffffff;
        border-top: 1px solid #fce4ec;
        padding: 8px 0 16px 0;
    }

    .nav-links.open { display: flex; }

    .nav-links li { width: 100%; }

    .nav-links a {
        display: block;
        padding: 10px 24px;
        font-size: 1rem;
    }

    .btn-order-nav {
    margin: 8px 24px 0 24px;
    display: block;
    text-align: center;
    }

    /* Products: single column on tablet */
    .products-section {
    padding: 16px 24px 40px 24px;
    }

    .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    }

    /* Footer: stack */
    .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    }

    .footer-links { align-items: flex-start; }
}

/* ============================================
    MOBILE VIEW — 480px
============================================ */
@media (max-width: 480px) {

    .logo-circle { width: 60px; height: 60px; }
    .logo-circle svg { width: 42px; height: 42px; }
    .brand-name { font-size: 0.85rem; }

    /* Single column product grid on small phones */
    .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    }

    .products-section { padding: 12px 16px 32px 16px; }

    .card-image-placeholder { height: 180px; font-size: 3rem; }

    .card-title { font-size: 1.2rem; }

    .footer { padding: 16px 20px; }
}